package com.jfs.qy.entity.response;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 查询告警事件响应数据
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/11/4
 */
@Data
public class SearchAlarmEventResponseData implements Serializable {
    /**
     * 当request无readerID时，创建readerID并返回
     */
    @JSONField(name = "reader_id")
    private Integer readerId;
    /**
     * 当前最新的sequence位置
     */
    private Integer sequence;
    /**
     * 当前sequence位置所属圈数
     */
    @JSONField(name = "lap_number")
    private Integer lapNumber;
    /**
     * 当无alarm_list时，输出心跳报警消息
     */
    @JSONField(name = "heat_alarm")
    private String heatAlarm;

    /**
     * 告警数据集合
     */
    @JSONField(name = "alarm_list")
    private List<AlarmList> alarmList;
}
